package com.young.sso.Service;


import com.young.sso.exception.BusinessException;

/**
 * @author young
 * @date 2021/11/29 15:29
 */
public interface SmsService {
    /**
     * 一键登录或注册的业务
     *
     * @param phone 电话号码
     * @return a
     * @throws BusinessException 自定义的异常
     */

    String sendLoginSms(String phone) throws BusinessException;

}

